From: Petr Štetiar Date: Mon, 4 Nov 2024 20:35:37 +0000 (+0000) Subject: scripts: signall: silence pushd/popd directory changes X-Git-Tag: v21~1 X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=7a869ad9c968c98a52ba4dcb20a693978f19ad99;p=buildbot.git scripts: signall: silence pushd/popd directory changes Its not needed to have those visible in the job output as it might be misleading. Signed-off-by: Petr Štetiar --- diff --git a/scripts/signall.sh b/scripts/signall.sh index 7b22386..325872f 100755 --- a/scripts/signall.sh +++ b/scripts/signall.sh @@ -84,7 +84,7 @@ if [ -n "$APKSIGNKEY" ]; then find "$tmpdir/tar/" -type f -name sha256sums | while read -r file; do dir=$(dirname "$file") - pushd "$dir" || finish 3 + pushd "$dir" > /dev/null || finish 3 grep 'packages\.adb' sha256sums | while IFS= read -r line; do filename="${line#*' *'}" @@ -95,7 +95,7 @@ if [ -n "$APKSIGNKEY" ]; then sed -i "s#.*[[:space:]]\*$escaped_filename\$#$new_checksum_line#" sha256sums done - popd || finish 3 + popd > /dev/null || finish 3 done fi